package com.gtw.modules.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 团购——用户
 */
public class TbGroupbuyUser implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userid;

    /**
     * 团购ID
     */
    private Integer groupbuyid;

    /**
     * 团长ID
     */
    private Integer leaderid;

    /**
     * 是否结束(0未结束 1 已结束)
     */
    private Integer isend;

    /**
     * 团购价格
     */
    private Float price;

    /**
     * 创建时间
     */
    private Date createtime;


    /**
     * 结束时间
     */
    private Date endtime;

    /**
     * 身份(0：团长  1：团员)
     */
    private Integer identity;

    //参与人数
    private Integer pepnum;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getGroupbuyid() {
        return groupbuyid;
    }

    public void setGroupbuyid(Integer groupbuyid) {
        this.groupbuyid = groupbuyid;
    }

    public Integer getIsend() {
        return isend;
    }

    public void setIsend(Integer isend) {
        this.isend = isend;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }

    public Integer getPepnum() {
        return pepnum;
    }

    public void setPepnum(Integer pepnum) {
        this.pepnum = pepnum;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Integer getLeaderid() {
        return leaderid;
    }

    public void setLeaderid(Integer leaderid) {
        this.leaderid = leaderid;
    }
}